Repository navigation
Add a synthetic code performance benchmark prompt and skill - #100
Merged
cursor[bot] merged 2 commits intoNov 29, 2026
Merged
Conversation
Give Copilot, Claude Code, and Codex a standing procedure for a language-neutral BEFORE/AFTER performance read that never executes the subject and can be attached in front of any other task prompt. Co-authored-by: Ramkumar Ethiraj <rmkr-dev@users.noreply.github.com>
Add the pasteable task that writes one offline HTML performance report, with an attachment block and extension slots, and mention the pack on the AI hub. Co-authored-by: Ramkumar Ethiraj <rmkr-dev@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a language-neutral synthetic performance pack to Skillbook and Promptbook.
synthetic-code-performance-benchmark— standing procedure for Copilot, Claude Code, and Codex. Install it on demand (.github/skills/,.claude/skills/, or a shortAGENTS.mdpointer). Do not paste the full procedure into an always-on instructions file.synthetic-code-performance-report— the pasteable task. Copying the body is enough on its own.The pack compares a real BEFORE and AFTER (or says the comparison is unavailable) and writes exactly one offline HTML file,
code_performance_analysis.html. It never runs, builds, tests, or profiles the subject to collect timings. Every figure is labelled measured (existing evidence), calibrated (anchored model), or synthetic (normalized estimate). Missing percentiles stay missing.It is an attachment, not a one-off review of a single stack. A
PERFORMANCE ATTACHMENTblock sits in front of any other task prompt. The subject can be source, a query, a pipeline, runtime config, or another prompt.EXTENSIONScan add scoring dimensions, workload points, evidence files, and report sections. Those slots cannot waive the no-execute rule or the mandatory sections.How to use
Paste the prompt with the files attached, or put this above another task and fill the placeholders:
Direct links once this is on
main:/skillbook/#synthetic-code-performance-benchmarkand/promptbook/#synthetic-code-performance-report.Test
node scripts/site-check.mjs— OKsynthetic performanceshows 1 of 62, Open shows the task body (including "Never execute the subject"), and Copy reports "Copied to clipboard."Promptbook search and open detail
Safety rules in the copied prompt
Skill extension slots
AI hub
To show artifacts inline, enable in settings.